package ee.karileet.productcatalogue.dao;
import ee.karileet.productcatalogue.model.Manufactor;

/**
 * @author Markus Karileet
 * @version 1.0
 * @created 29-nov-2013 16:09:21
 */
public interface IManufactorHome {

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public void attachClean(Manufactor manufactor);

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public void attachDirty(Manufactor manufactor);

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public void delete(Manufactor manufactor);

	/**
	 * 
	 * @param expressions    expressions
	 */
	public java.util.List<Manufactor> find(java.util.List<org.hibernate.criterion.SimpleExpression> expressions);

	public java.util.List<Manufactor> findAll();

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public java.util.List<Manufactor> findByExample(Manufactor manufactor);

	/**
	 * 
	 * @param id    id
	 */
	public Manufactor findById(int id);

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public Manufactor merge(Manufactor manufactor);

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public void persist(Manufactor manufactor);
	
	public void save(Manufactor manufactor);

}